/*
* By Kirkov 2011  (@kirkov)
*/

using System;

namespace MvcShortRoute
{
    [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
    public class ShortRouteAttribute : Attribute
    {
        private readonly string _url;

        public ShortRouteAttribute()
        {
        }

        public ShortRouteAttribute(string url)
        {
            _url = url;
        }

        public string Url
        {
            get { return _url; }
        }
    }
}